package com.zx.Ding.entity;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
/**
 * 用户信息
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;


    //姓名
    private String name;


    //手机号
    private String phone;


    //性别 0 女 1 男
    private String sex;

    //用户头像
    private String userImg;

    //状态 0:禁用，1:正常
    private Integer status;

    //密码: 初始密码 123
    private String password;
    public User(String phone, Integer status) {
        this.phone = phone;
        this.status = status;
    }

    public User(String phone, Integer status, String password) {
        this.phone = phone;
        this.status = status;
        this.password = password;
    }

    public User() {
    }
}
